<?php
$toolbar    =new ToolBarHelper($act);
$toolbar->setSubmitAjax(true);
if($act=='editcat')
{
    $toolbar->SetTitle('[Edit form booking tour]');
    $toolbar->Back(getUrlBack());
    $toolbar->Apply();
    $toolbar->Save();
}else
{         
    $toolbar->Delete();
    $toolbar->Apply();
    $toolbar->Edit('editcat','Edit form');   
}
?>